package com.slwish.xty.mvp.contract;

import android.content.Context;

import com.slwish.common.mvp.contract.BaseContract;
import com.slwish.xty.entity.ServiceItemsModel;
import com.slwish.xty.entity.SubscribeModel;

/**
 * 模块说明：
 *
 * @author 陈浩
 * @date 2017/12/1
 */

public interface SubscribeEditContract {
    interface Presenter extends BaseContract.Presenter {

        void submitSubscribe(Context context, String aid
                , String mid, String linkman, String phone
                , String resideTime, String departureTime
                , String dinersNum, String stayNum
                , String remarks, String services);

        void queryServiceItems();
    }

    // 都在基类完成了
    interface View extends BaseContract.View<SubscribeEditContract.Presenter> {
        void submitSuccess(SubscribeModel model);

        void queryServiceSuccess(ServiceItemsModel model);
    }
}
